<?php

namespace App\Http\Controllers;


use App\Models\ErpTest;
use Illuminate\Support\Facades\DB;

class HomeController extends Controller
{

    public function index()
    {
//        $sql = DB::connection('oracle')->select("SELECT * from  CT_PUR_DEDUCTFORMULA");
//        dd($sql);
        dd(ErpTest::where('fname_l2', '分项扣重B')->first());
    }
}
